/*************************************************************
 * Title: AndedConditions.java
 * Description: 
 * Author: Huang Shaobin
 * Email: huangshaobin@qtt.cn
 * CreateTime: Feb 18, 2013 5:29:57 PM
 * Copyright © 北京全天通信息咨询服务有限公司 All right reserved
 ************************************************************/
package snow.core.persistence.query;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 *
 */
public class AndedConditions extends Conditions {

	private List<Conditions> andedConditions;

	public AndedConditions() {
		super();
		this.andedConditions = new ArrayList<Conditions>();
	}

	public AndedConditions addConditions(Conditions conditions) {
		this.andedConditions.add(conditions);
		return this;
	}

	public List<Conditions> getAndedConditions() {
		return Collections.unmodifiableList(this.andedConditions);
	}

}
